<div class="blazorise-codeblock">
<div class="html"><pre>
// other usings
using Blazorise;
using Blazorise.AntDesign;
using Blazorise.Icons.FontAwesome;

public class Program
{
  public static async Task Main( string[] args )
  {
    var builder = WebAssemblyHostBuilder.CreateDefault( args );

    builder.Services
      .AddBlazorise( options =&gt;
      {
          options.ChangeTextOnKeyPress = true;
      } )
      .AddAntDesignProviders()
      .AddFontAwesomeIcons();

    builder.Services.AddSingleton( new HttpClient
    {
      BaseAddress = new Uri( builder.HostEnvironment.BaseAddress )
    } );

    builder.RootComponents.Add<span class="htmlTagDelimiter">&lt;</span><span class="htmlElementName">App</span><span class="htmlTagDelimiter">&gt;</span>( &quot;#app&quot; );

    var host = builder.Build();

    await host.RunAsync();
  }
}
</pre></div>
</div>
